<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>js - 自定义单选</title>
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>

    <div class="colors">
        <section class="title">颜色：</section>
        <section class="item">红色</section>
        <section class="item">白色</section>
        <section class="item">黑色</section>
        <section class="item">紫色</section>
    </div>
    <div class="size">
        <section class="title">尺寸：</section>
        <section class="item">S</section>
        <section class="item">M</section>
        <section class="item">L</section>
    </div>
    
    <button type="button">加入购物车</button>
    
    <script src="./js/index.js"></script>
</body>
</html>